package Demo4;

public class Fish extends Animal implements ISwimming{
    public Fish(String name){
        super(name);
    }
    public void swim(){
        System.out.println("鱼在游泳");
    }
}
